package com.cnfangmao.masterdata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cnfangmao.masterdata.dto.BasicDataRuleDto;
import com.cnfangmao.masterdata.dto.GeneralSearchDto;
import com.cnfangmao.masterdata.model.BasicDataRule;
import com.cnfangmao.masterdata.vo.GeneralPageVo;

/**
 * <p>
 * 主数据字段控制规则定义 服务类
 * </p>
 *
 * @author chenxd
 * @since 2020-04-14
 */
public interface BasicDataRuleService extends IService<BasicDataRule> {

	/**
	 * 
	 * @param ruleName
	 * @return
	 */
	public BasicDataRule getBasicDateRuleByRuleName(String ruleName);
	
	/**
	 * 
	 * @param searchDto
	 * @return
	 */
	public GeneralPageVo<BasicDataRule> getBasicDateRulesByPage(GeneralSearchDto<BasicDataRuleDto> searchDto);
}
